home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10660 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  859 b 

  1. Path: newsfeeds.ans.net!interaccess!usenet
  2. From: brianmcg@interaccess.com (Brian V. McGroarty)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: 16-bit memset?
  5. Date: 19 Mar 1996 06:45:47 GMT
  6. Organization: Internet Squire
  7. Message-ID: <4ill6r$qnm@nntp.interaccess.com>
  8. References: <joules-1803962243060001@badboy.mit.edu>
  9. Reply-To: brianmcg@interaccess.com
  10. NNTP-Posting-Host: d48-isdn.nhe.interaccess.com
  11. X-Newsreader: Internet Squire 1.20
  12.  
  13. What system and what compiler are you using?  Many C libraries will fill
  14. out unaligned starts and ends and then use the largest machine word to fill
  15. the middle section of a memset.
  16.  
  17.  
  18. Julian Orbanes wrote:
  19. >I am looking quick way to set a series of 16-bit values to one value.
  20. >
  21. >Analagous to how memset set works with 8-bit values. (For graphics
  22. >purposes).
  23.  
  24.  
  25. ---
  26. Brian Valters McGroarty -- brianmcg@bix.com
  27. phone/fax (847) 439-7714
  28.